package com.example.missingpersons.service;

import com.example.missingpersons.controller.DTO.LoginDTO;
import com.example.missingpersons.controller.DTO.RePwdDTO;
import com.example.missingpersons.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * IUserService 服务类
 * @author 张芸博
 * @since 2025-03-12
 */
public interface IUserService extends IService<User> {
    User Login(LoginDTO loginDTO);
    String getCode();

    Boolean mailCode(RePwdDTO rePwdDTO);

    Boolean rePwd(RePwdDTO rePwdDTO);

    Boolean verifyCode(RePwdDTO rePwdDTO);

    Boolean signup(RePwdDTO rePwdDTO);
}
